package com.qf.service;

import com.qf.dto.ResultBean;
import com.qf.entity.TUser;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: dong
 * Date: 2020/3/12
 */
public interface IUserService {

    //查询所有-----测试用
    List<TUser> getAll();

    ResultBean registerByEmail(String email, String password);

    ResultBean emailActive(String email);


    ResultBean getCode(String phone);

    ResultBean registerByPhone(String phone, String code, String password);

    ResultBean checkLogin(String uname, String password);

    ResultBean checkIsLogin(String uuid);
}
